home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10397 < prev    next >
Encoding:
Text File  |  1996-08-05  |  915 b   |  37 lines

  1. Newsgroups: comp.lang.c++
  2. Path: newsfeeds.ans.net!butch!enterprise!news
  3. From: Bentley_Joe@mm.rdd.lmsc.lockheed.com (Joe Bentley)
  4. Subject: Re: simple problem
  5. Message-ID: <Bentley_Joe-0703961505580001@129.197.157.33>
  6. Sender: news@enterprise.rdd.lmsc.lockheed.com (News Administrator)
  7. Organization: HRD - Technical Training Lockheed
  8. References: <4hkosd$p3p@mn5.swip.net>
  9. Date: Thu, 7 Mar 96 20:59:50 GMT
  10.  
  11. That's an easy one.  You must identify the type of each parameter in the header.
  12. Your code should look like:
  13.  
  14. int knapp(int x1, int y1, int x2, int y2)
  15. {
  16. ...
  17.  
  18.  
  19.  
  20.  
  21.  
  22. In article <4hkosd$p3p@mn5.swip.net>, daniel.lundin@mailbox.swipnet.se
  23. (Daniel MarjamΣki) wrote:
  24.  
  25. > Hallo!
  26. > I want more parameters than two in one of my functions, how do I do?
  27. > I get an errormassage when I run the following function :
  28. > int knapp(int x1,y1,x2,y2)
  29. > {
  30. >   rectangle(x1,y1,x2,y2);
  31. > }
  32. > Daniel.lundin@mailbox.swipnet.se
  33.